home *** CD-ROM | disk | FTP | other *** search
/ comtecelectrical.ca / www.comtecelectrical.ca.tar / www.comtecelectrical.ca / infobots / Backup / MSOCache / All Users / 90000409-6000-11D3-8CFE-0150048383C9 / YH561411.CAB / FL_xsdschema_xsd________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Extensible Markup Language  |  2000-11-29  |  16KB  |  385 lines

  1. <?xml version='1.0' encoding='utf-8' ?>
  2. <schema xmlns="http://www.w3.org/1999/XMLSchema" targetNamespace="http://www.w3.org/1999/XMLSchema">
  3.     <element name="schema" minOccurs="1" maxOccurs="1">
  4.         <complexType content="elementOnly">
  5.             <sequence>
  6.                 <choice minOccurs="0" maxOccurs="unbounded">
  7.                     <element name="include" type="includeDef" />
  8.                     <element name="import" type="importDef" />
  9.                     <element name="annotation" type="annotationDef" />
  10.                 </choice>
  11.                 <choice minOccurs="0" maxOccurs="unbounded">
  12.                     <element name="element" type="elementDef" />
  13.                     <element name="complexType" type="namedComplexTypeDef" />
  14.                     <element name="group" type="groupDef" />
  15.                     <element name="attribute" type="attributeDef" />
  16.                     <element name="attributeGroup" type="namedAttributeGroupDef" />
  17.                     <element name="notation" type="notationDef" />
  18.                     <element name="simpleType" type="namedSimpleTypeDef" />
  19.                     <element name="annotation" type="annotationDef" />
  20.                 </choice>
  21.             </sequence>
  22.             <attribute name="attributeFormDefault" type="formEnum" use="default" value="unqualified"/>
  23.             <attribute name="blockDefault" type="blockDefaultEnum" />
  24.             <attribute name="elementFormDefault" type="formEnum" use="default" value="unqualified"/>
  25.             <attribute name="finalDefault" type="blockEnum" />
  26.             <attribute name="id" type="ID" />
  27.             <attribute name="targetNamespace" type="uriReference" />
  28.             <attribute name="version" type="string" />
  29.         </complexType>
  30.     </element>
  31.  
  32.     <complexType name="attributeDef">
  33.         <choice minOccurs="0" maxOccurs="unbounded">
  34.             <element name="annotation" type="annotationDef" />
  35.             <element name="simpleType" type="unnamedSimpleTypeDef" />
  36.         </choice>
  37.         <attribute name="form" type="formEnum" />
  38.         <attribute name="id" type="ID" />
  39.         <attributeGroup ref="nameAttributes" />
  40.         <attribute name="type" type="QName" />
  41.         <attribute name="use" type="useEnum" use="default" value="optional"/>
  42.         <attribute name="value" type="string" />
  43.     </complexType>
  44.  
  45.     <complexType name="elementDef">
  46.         <choice minOccurs="0" maxOccurs="unbounded">
  47.             <element name="annotation" type="annotationDef" />
  48.             <element name="simpleType" type="unnamedSimpleTypeDef" />
  49.             <element name="complexType" type="unnamedComplexTypeDef" />
  50.             <element name="keyref" type="keyrefDef" />
  51.             <element name="unique" type="constraintDef" />
  52.             <element name="key" type="constraintDef" />
  53.         </choice>
  54.         <attribute name="abstract" type="boolean" />
  55.         <attribute name="block" type="blockEnum" />
  56.         <attribute name="default" type="string" />
  57.         <attribute name="equivClass" type="QName" />
  58.         <attribute name="final" type="blockEnum" />
  59.         <attribute name="fixed" type="string" />
  60.         <attribute name="form" type="formEnum" />
  61.         <attribute name="id" type="ID" />
  62.         <attributeGroup ref="occursAttributes" />
  63.         <attributeGroup ref="nameAttributes" />
  64.         <attribute name="nullable" type="boolean" />
  65.         <attribute name="type" type="QName" />
  66.     </complexType>
  67.  
  68.     <complexType name="namedComplexTypeDef">
  69.         <choice minOccurs="0" maxOccurs="unbounded">
  70.             <element name="annotation" type="annotationDef" />
  71.             <element name="length" type="facetDef" />
  72.             <element name="enumeration" type="facetDef" />
  73.             <element name="pattern" type="facetDef" />
  74.             <element name="scale" type="facetDef" />
  75.             <element name="period" type="facetDef" />
  76.             <element name="duration" type="facetDef" />
  77.             <element name="maxLength" type="facetDef" />
  78.             <element name="precision" type="facetDef" />
  79.             <element name="minInclusive" type="facetDef" />
  80.             <element name="minExclusive" type="facetDef" />
  81.             <element name="maxInclusive" type="facetDef" />
  82.             <element name="maxExclusive" type="facetDef" />
  83.             <element name="minLength" type="facetDef" />
  84.             <element name="encoding" type="facetDef" />
  85.             <element name="group" type="groupDef" />
  86.             <element name="all" type="groupDef" />
  87.             <element name="choice" type="groupDef" />
  88.             <element name="sequence" type="groupDef" />
  89.             <element name="attribute" type="attributeDef" />
  90.             <element name="attributeGroup" type="unnamedAttributeGroupDef"/>
  91.             <element name="anyAttribute" type="anyAttributeDef"/>
  92.         </choice>
  93.         <attribute name="abstract" type="boolean" />
  94.         <attribute name="base" type="QName" />
  95.         <attribute name="block" type="blockEnum" />
  96.         <attribute name="content" type="contentEnum" />
  97.         <attribute name="derivedBy" type="derivedByEnum" />
  98.         <attribute name="final" type="blockEnum" />
  99.         <attribute name="id" type="ID" />
  100.         <attribute name="name" type="NCName" use="required" />
  101.     </complexType>
  102.     
  103.     <complexType name="unnamedComplexTypeDef">
  104.         <choice minOccurs="0" maxOccurs="unbounded">
  105.             <element name="annotation" type="annotationDef" />
  106.             <element name="length" type="facetDef" />
  107.             <element name="enumeration" type="facetDef" />
  108.             <element name="pattern" type="facetDef" />
  109.             <element name="scale" type="facetDef" />
  110.             <element name="period" type="facetDef" />
  111.             <element name="duration" type="facetDef" />
  112.             <element name="maxLength" type="facetDef" />
  113.             <element name="precision" type="facetDef" />
  114.             <element name="minInclusive" type="facetDef" />
  115.             <element name="minExclusive" type="facetDef" />
  116.             <element name="maxInclusive" type="facetDef" />
  117.             <element name="maxExclusive" type="facetDef" />
  118.             <element name="minLength" type="facetDef" />
  119.             <element name="encoding" type="facetDef" />
  120.             <element name="group" type="groupDef" />
  121.             <element name="all" type="groupDef" />
  122.             <element name="choice" type="groupDef" />
  123.             <element name="sequence" type="groupDef" />
  124.             <element name="attribute" type="attributeDef" />
  125.             <element name="attributeGroup" type="unnamedAttributeGroupDef"/>
  126.             <element name="anyAttribute" type="anyAttributeDef"/>
  127.         </choice>
  128.         <attribute name="abstract" type="boolean" />
  129.         <attribute name="base" type="QName" />
  130.         <attribute name="block" type="blockEnum" />
  131.         <attribute name="content" type="contentEnum" />
  132.         <attribute name="derivedBy" type="derivedByEnum" />
  133.         <attribute name="final" type="blockEnum" />
  134.         <attribute name="id" type="ID" />
  135.     </complexType>
  136.  
  137.     <complexType name="anyAttributeDef">
  138.            <choice minOccurs="0" maxOccurs="1">
  139.             <element name="annotation" type="annotationDef" />
  140.         </choice>
  141.         <attribute name="id" type="ID" />
  142.         <attribute name="namespace" type="string" />
  143.     </complexType>
  144.  
  145.  
  146.     <complexType name="namedAttributeGroupDef">
  147.         <choice minOccurs="0" maxOccurs="unbounded">
  148.             <element name="annotation" type="annotationDef" />
  149.             <element name="attribute" type="attributeDef" />
  150.             <element name="attributeGroup" type="unnamedAttributeGroupDef" />
  151.             <element name="anyAttribute" type="anyAttributeDef" />
  152.         </choice>
  153.         <attribute name="id" type="ID" />
  154.         <attributeGroup ref="nameAttributes" />
  155.     </complexType>
  156.  
  157.     <complexType name="unnamedAttributeGroupDef">
  158.         <choice minOccurs="0" maxOccurs="1">
  159.             <element name="annotation" type="annotationDef" />
  160.         </choice>
  161.         <attribute name="id" type="ID" />
  162.         <attribute name="ref" type="QName" />
  163.     </complexType>
  164.  
  165.     <complexType name="groupDef">
  166.         <choice minOccurs="0" maxOccurs="unbounded">
  167.             <element name="annotation" type="annotationDef" />
  168.             <element name="element" type="elementDef" />
  169.             <element name="group" type="groupDef" />
  170.             <element name="all" type="groupComponentsDef" />
  171.             <element name="choice" type="groupComponentsDef" />
  172.             <element name="sequence" type="groupComponentsDef" />
  173.             <element name="any" type="anyDef" />
  174.         </choice>
  175.         <attribute name="id" type="ID" />
  176.         <attributeGroup ref="occursAttributes" />
  177.         <attributeGroup ref="nameAttributes" />
  178.     </complexType>
  179.  
  180.     <complexType name="groupComponentsDef">
  181.         <choice minOccurs="0" maxOccurs="unbounded">
  182.             <element name="annotation" type="annotationDef" />
  183.             <element name="element" type="elementDef" />
  184.             <element name="group" type="groupDef" />
  185.             <element name="choice" type="choiceDef" />
  186.             <element name="sequence" type="sequenceDef" />
  187.             <element name="any" type="anyDef" />
  188.         </choice>
  189.         <attribute name="id" type="ID" />
  190.         <attributeGroup ref="occursAttributes" />
  191.     </complexType>
  192.  
  193.  
  194.     <complexType name="anyDef">
  195.         <choice minOccurs="0" maxOccurs="1">
  196.             <element name="annotation" type="annotationDef" />
  197.         </choice>
  198.         <attribute name="id" type="ID" />
  199.         <attribute name="namespace" type="uriReference" />
  200.         <attribute name="processContents" type="processContentsEnum" />
  201.         <attributeGroup ref="occursAttributes" />
  202.     </complexType>
  203.  
  204.     <complexType name="constraintDef">
  205.         <choice minOccurs="0" maxOccurs="unbounded">
  206.             <element name="annotation" type="annotationDef" />
  207.             <element name="selector" type="string" />
  208.             <element name="field" type="string" />
  209.         </choice>
  210.         <attribute name="id" type="ID" />
  211.         <attribute name="name" type="NCName" />
  212.     </complexType>
  213.  
  214.     <complexType name="keyrefDef">
  215.         <choice minOccurs="0" maxOccurs="unbounded">
  216.             <element name="annotation" type="annotationDef" />
  217.             <element name="selector" type="string" />
  218.             <element name="field" type="string" />
  219.         </choice>
  220.         <attribute name="id" type="ID" />
  221.         <attribute name="refer" type="QName" />
  222.         <attribute name="name" type="NCName" />
  223.     </complexType>
  224.  
  225.     <complexType name="notationDef">
  226.         <choice minOccurs="0" maxOccurs="unbounded">
  227.             <element name="annotation" type="annotationDef" />
  228.         </choice>
  229.         <attribute name="id" type="ID" />
  230.         <attribute name="public" type="string" />
  231.         <attribute name="system" type="string" />
  232.         <attribute name="name" type="NCName" />
  233.     </complexType>
  234.  
  235.     <complexType name="annotationDef">
  236.         <choice minOccurs="0" maxOccurs="unbounded">
  237.             <element name="appinfo">
  238.                 <complexType content="textOnly">
  239.                     <attribute name="source" type="string" />
  240.                 </complexType>
  241.             </element>
  242.             <element name="documentation">
  243.                 <complexType content="textOnly">
  244.                     <attribute name="source" type="string" />
  245.                 </complexType>
  246.             </element>
  247.         </choice>
  248.     </complexType>
  249.  
  250.     <complexType name="includeDef">
  251.         <choice minOccurs="0" maxOccurs="1">
  252.             <element name="annotation" type="annotationDef" />
  253.         </choice>
  254.         <attribute name="id" type="ID" />
  255.         <attribute name="schemaLocation" type="string" />
  256.     </complexType>
  257.  
  258.     <complexType name="importDef">
  259.            <choice minOccurs="0" maxOccurs="1">
  260.             <element name="annotation" type="annotationDef" />
  261.         </choice>
  262.         <attribute name="id" type="ID" />
  263.         <attribute name="namespace" type="string" />
  264.         <attribute name="schemaLocation" type="string" />
  265.     </complexType>
  266.  
  267.     <complexType name="namedSimpleTypeDef">
  268.            <choice minOccurs="0" maxOccurs="unbounded">
  269.             <element name="annotation" type="annotationDef" />
  270.             <element name="minExclusive" type="facetDef" />
  271.             <element name="minInclusive" type="facetDef" />
  272.             <element name="maxExclusive" type="facetDef" />
  273.             <element name="maxInclusive" type="facetDef" />
  274.             <element name="precision" type="facetDef" />
  275.             <element name="scale" type="facetDef" />
  276.             <element name="length" type="facetDef" />
  277.             <element name="minLength" type="facetDef" />
  278.             <element name="maxLength" type="facetDef" />
  279.             <element name="encoding" type="facetDef" />
  280.             <element name="period" type="facetDef" />
  281.             <element name="duration" type="facetDef" />
  282.             <element name="enumeration" type="facetDef" />
  283.             <element name="pattern" type="facetDef" />
  284.         </choice>
  285.         <attribute name="abstract" type="boolean" />
  286.         <attribute name="base" type="QName" />
  287.         <attribute name="derivedBy" type="simpleTypeDerivedByEnum" use="default" value="restriction" />
  288.         <attribute name="id" type="ID" />
  289.         <attribute name="name" type="NCName" />
  290.     </complexType>
  291.  
  292.     <complexType name="unnamedSimpleTypeDef">
  293.            <choice minOccurs="0" maxOccurs="unbounded">
  294.             <element name="annotation" type="annotationDef" />
  295.             <element name="minExclusive" type="facetDef" />
  296.             <element name="minInclusive" type="facetDef" />
  297.             <element name="maxExclusive" type="facetDef" />
  298.             <element name="maxInclusive" type="facetDef" />
  299.             <element name="precision" type="facetDef" />
  300.             <element name="scale" type="facetDef" />
  301.             <element name="length" type="facetDef" />
  302.             <element name="minLength" type="facetDef" />
  303.             <element name="maxLength" type="facetDef" />
  304.             <element name="encoding" type="facetDef" />
  305.             <element name="period" type="facetDef" />
  306.             <element name="duration" type="facetDef" />
  307.             <element name="enumeration" type="facetDef" />
  308.             <element name="pattern" type="facetDef" />
  309.         </choice>
  310.         <attribute name="abstract" type="boolean" />
  311.         <attribute name="base" type="QName" />
  312.         <attribute name="derivedBy" type="simpleTypeDerivedByEnum" />
  313.         <attribute name="id" type="ID" />
  314.     </complexType>
  315.  
  316.     <complexType name="facetDef">
  317.            <choice minOccurs="0" maxOccurs="unbounded">
  318.             <element name="annotation" type="annotationDef" />
  319.         </choice>
  320.         <attribute name="value" type="string" />
  321.         <attribute name="id" type="ID" />
  322.     </complexType>
  323.  
  324.  
  325.     <simpleType name="useEnum" base="string" >
  326.         <enumeration value="prohibited" />
  327.         <enumeration value="optional" />
  328.         <enumeration value="required" />
  329.         <enumeration value="default" />
  330.         <enumeration value="fixed" />
  331.     </simpleType>
  332.  
  333.     <simpleType name="processContentsEnum" base="string" >
  334.         <enumeration value="lax" />
  335.         <enumeration value="skip" />
  336.         <enumeration value="strict" />
  337.     </simpleType>
  338.  
  339.     <simpleType name="formEnum" base="string">
  340.         <enumeration value="qualified" />
  341.         <enumeration value="unqualified" />
  342.     </simpleType>
  343.  
  344.     <simpleType name="blockEnum" base="string">
  345.         <enumeration value="#all" />
  346.         <enumeration value="extension" />
  347.         <enumeration value="restriction" />
  348.     </simpleType>
  349.  
  350.     <simpleType name="blockDefaultEnum" base="string">
  351.         <enumeration value="#all" />
  352.         <enumeration value="equivClass" />
  353.         <enumeration value="extension" />
  354.         <enumeration value="restriction" />
  355.     </simpleType>
  356.  
  357.     <simpleType name="simpleTypeDerivedByEnum" base="string">
  358.         <enumeration value="list" />
  359.         <enumeration value="extension" />
  360.         <enumeration value="restriction" />
  361.     </simpleType>
  362.  
  363.     <simpleType name="derivedByEnum" base="string">
  364.         <enumeration value="extension" />
  365.         <enumeration value="restriction" />
  366.     </simpleType>
  367.  
  368.     <simpleType name="contentEnum" base="string" >
  369.         <enumeration value="elementOnly" />
  370.         <enumeration value="empty" />
  371.         <enumeration value="mixed" />
  372.         <enumeration value="textOnly" />
  373.     </simpleType>
  374.  
  375.     <attributeGroup name="nameAttributes">
  376.         <attribute name="name" type="QName" />
  377.         <attribute name="ref" type="QName" />
  378.     </attributeGroup>
  379.  
  380.     <attributeGroup name="occursAttributes">
  381.         <attribute name="minOccurs" type="nonNegativeInteger" />
  382.         <attribute name="maxOccurs" type="string" />
  383.     </attributeGroup>
  384. </schema>
  385.